Backend database host: https://tutoringservice-backend-333.herokuapp.com
Sign up
Create a school: "/schools/{name}", "/schools/{name}/"
POST https://tutoringservice-backend-333.herokuapp.com/schools/Concordia
Get all schools: "/schools", "/schools/"
GET https://tutoringservice-backend-333.herokuapp.com/schools
Get a school by name: "/schools/{name}", "/schools/{name}"
GET https://tutoringservice-backend-333.herokuapp.com/schools/ubc
Create a student"/students/{name}/{schoolName}", "/students/{name}/{schoolName}"
POST https://tutoringservice-backend-333.herokuapp.com/Alex/ubc
Search
Get all tutors that teach searched course: "/tutors_byCourse/{name}", "/tutors_byCourse/{name}/"
GET https://tutoringservice-backend-333.herokuapp.com/tutors_byCourse/COMP 202
Get a tutor by name: "/tutors/{name}", "/tutors/{name}/"
GET https://tutoringservice-backend-333.herokuapp.com/tutors/Erik
Send tutorial request
Create a session: "/tutorial_request/tutorial_sessions", "/tutorial_request/tutorial_sessions/"
POST https://tutoringservice-backend-333.herokuapp.com/tutorial_request/tutorial_sessions?startTime=12:38& finishTime=13:38&courseName=COMP 206&tutorName=Erik
Create a registration "/tutorial_request/registration", "/tutorial_request/registration/"
POST https://tutoringservice-backend-333.herokuapp.com/tutorial_request/registration/?startTime=11:23&finishTime=12:23&tutorName=Erik&studentName=Alex
Create a bill"/tutorial_request/bills", "/tutorial_request/bills/",
POST http://localhost:8080/tutorial_request/bills?amount=99.9®istrationNr=184
Feedback
Student creates feedback for a tutor: "/feedback",
POST https://tutoringservice-backend-333.herokuapp.com/feedback?comment=heisanicetutor!®_time=123&studentid=3&rate=5
Show all tutorsfeedbacks of student: "/tutorFeedbacks",
GET https://tutoringservice-backend-333.herokuapp.com/tutorFeedbacks?studentName=mai
Show all studentsfeedback of a tutor: "/all_student_feedbacks",
GET https://tutoringservice-backend-333.herokuapp.com/all_student_feedbacks?tutor_name=Erik Lamela